# ecoding:utf-8

var = [34,56,73,45,67]
# i=0
# for a in var:
#      i = i + 1
#
# vari = var[0]
# j = 0
# while j <= i:
#     m = j + 1
#     j = j + 1
#     while m < i :
#         m = m + 1
#         if vari > var[m]:
#             v = vari
#             vari = var[m]
#             var[m] = v
#
# for va in var:
#     print va

for i in range(0, len(var)):
    min = i
    for j in range(i + 1, len(var)):
        if var[j] < var[min]:
            min = j
    var[i], var[min] = var[min], var[i]  # swap

# var.sort()
# print var

print var